<?php
defined('_JEXEC') or die('Restricted access');
$app = JFactory::getApplication();
$input = $app->input;
$itemid = $input->get('Itemid');

$item  = $input->getArray();
$this->activeUsers = json_decode($item['jsonData']);
$vName = $input->get('view');
?>
<div class="echrlist">
    <div class="consoletytitle">
      <h3><?php echo $item['title'] ?></h3>
    </div>
    <!-- 为ECharts准备一个具备大小（宽高）的Dom -->
    <div id="main" style="width: 98%;height:500px;">

         <table class="table table-striped">
             <thead>
             <tr>
                 <th>language</th>
             </tr>
             </thead>
             <tbody>
             <?php foreach ($this->activeUsers as $key => $value):
             ?>
              <tr>

             <td><?php echo $value->language ?></td>

        
             </tr>
             <?php endforeach ?>
               </tbody>
         </table>

    </div>
</div>
